﻿using System.Collections.Generic;
using BitButterCORE.Object;

namespace BitButterCORE.Factory
{
	public interface IFactory
	{
		BaseObject this[uint id] { get; }

		IEnumerable<BaseObject> Objects { get; }

		void AddObject(BaseObject obj);

		bool HasChanges { get; }

		void MarkHasChanges();

		void ClearChanges();
	}
}
